package com.tancire.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tancire.common.annotation.Excel;
import com.tancire.common.core.domain.BaseEntity;

/**
 * 移动端配置对象 sys_mobile_config
 *
 * @author chenchao
 * @date 2024-01-10
 */
public class SysMobileConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 参数名
     */
    @Excel(name = "参数名")
    private String configName;

    /**
     * 参数类型(字典 文本、图片)
     */
    @Excel(name = "参数类型(字典 文本、图片)")
    private String configType;

    /**
     * 参数编码
     */
    @Excel(name = "参数编码")
    private String configCode;

    /**
     * 参数值
     */
    @Excel(name = "参数值")
    private String configValue;

    /**
     * 描述
     */
    @Excel(name = "描述")
    private String configDesc;

    /**
     * 0 正常  1 删除  真删除，字段保留
     */
    private Integer delFlag;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setConfigName(String configName) {
        this.configName = configName;
    }

    public String getConfigName() {
        return configName;
    }

    public void setConfigType(String configType) {
        this.configType = configType;
    }

    public String getConfigType() {
        return configType;
    }

    public void setConfigCode(String configCode) {
        this.configCode = configCode;
    }

    public String getConfigCode() {
        return configCode;
    }

    public void setConfigValue(String configValue) {
        this.configValue = configValue;
    }

    public String getConfigValue() {
        return configValue;
    }

    public void setConfigDesc(String configDesc) {
        this.configDesc = configDesc;
    }

    public String getConfigDesc() {
        return configDesc;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("configName", getConfigName())
                .append("configType", getConfigType())
                .append("configCode", getConfigCode())
                .append("configValue", getConfigValue())
                .append("configDesc", getConfigDesc())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
